package org.hfchunya.mutualHelp.modular.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 新闻与栏目关联表
 * </p>
 *
 * @author 付道敏
 * @since 2019-05-05
 */
@Setter
@Getter
@ToString
@TableName("sys_new_categroy")
public class NewCategroy implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 栏目ID
     */
    private Long categroyId;

    /**
     * 新闻动态ID
     */
    private Long newsId;

}
